<?php
// ------------------------------------------------------------------------- 
//	program_schedule
//		Copyright 2005, PichardDesign
// 		http://www.picharddesign.com
// ------------------------------------------------------------------------- 
//  ------------------------------------------------------------------------ //
//  This program is free software; you can redistribute it and/or modify     //
//  it under the terms of the GNU General Public License as published by     //
//  the Free Software Foundation; either version 2 of the License, or        //
//  (at your option) any later version.                                      //
//                                                                           //
//  You may not change or alter any portion of this comment or credits       //
//  of supporting developers from this source code or any supporting         //
//  source code which is considered copyrighted (c) material of the          //
//  original comment or credit authors.                                      //
//                                                                           //
//  This program is distributed in the hope that it will be useful,          //
//  but WITHOUT ANY WARRANTY; without even the implied warranty of           //
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the            //
//  GNU General Public License for more details.                             //
//                                                                           //
//  You should have received a copy of the GNU General Public License        //
//  along with this program; if not, write to the Free Software              //
//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA //
//  ------------------------------------------------------------------------ //

$modversion['name'] = "Program Schedule";
$modversion['version'] = 1.0;
$modversion['description'] = "A module that displays a weekly program schedule for Public Radio Stations";
$modversion['credits'] = "PichardDesign http://www.PichardDesign.com";
$modversion['author'] = "David Pichard";
$modversion['help'] = "index.php?op=help&currentID=4";
$modversion['license'] = "GPL";
$modversion['official'] = 0;
$modversion['image'] = "images/program_schedule.gif";
$modversion['dirname'] = "program_schedule";

// SQL file 
$modversion['sqlfile']['mysql'] = "sql/mysql.sql";

// Tables created by sql (without prefix!)
$modversion['tables'][] = "program_schedule_programs";
$modversion['tables'][] = "program_schedule_categories";
$modversion['tables'][] = "program_schedule_configuration";

// Smarty
$modversion['use_smarty'] = 1;

// Admin things
$modversion['hasAdmin'] = 1;
$modversion['adminindex'] = "admin/index.php";
$modversion['adminmenu'] = "admin/menu.php";

// Main contents
$modversion['hasMain'] = 1;

// Templates
$modversion['templates'][0]['file'] = 'program_schedule_index.html';
$modversion['templates'][0]['description'] = 'program_schedule Template Page';

// Blocks (Start indexes with 1, not 0!)
$modversion['blocks'][1]['file'] = "now_playing.php";
$modversion['blocks'][1]['name'] = "Now Playing";
$modversion['blocks'][1]['description'] = "A block to display the currently playing program";
$modversion['blocks'][1]['show_func'] = "now_playing";
$modversion['blocks'][1]['template'] = 'now_playing.html';


//DHTML MENU ITEMS IN ADMIN PAGE
//***** Modify hard link to this module directory in /admin/menu.php
//Update "case" variables in /admin/index.php
$adminmenu[0]['title'] = "Configuration";
$adminmenu[0]['link'] = "admin/index.php?op=config&currentID=0";
$adminmenu[1]['title'] = "Program Categories";
$adminmenu[1]['link'] = "admin/index.php?op=categories&currentID=1";
$adminmenu[2]['title'] = "Add Program";
$adminmenu[2]['link'] = "admin/index.php?op=addProgram&currentID=2";
$adminmenu[3]['title'] = "Manage Programs";
$adminmenu[3]['link'] = "admin/index.php?op=managePrograms&currentID=3";
$adminmenu[4]['title'] = "Help";
$adminmenu[4]['link'] = "admin/index.php?op=help&currentID=4";


?>